<?php

/**
 * Generated Model class.
 */
class Base_PostRow extends Db_Row
{

    /**
     * Set new value for post.id column in current Row.
     * 
     * @param int $IdFromPostRow
     * @return void
     */
    public function setId($Id)
    {
        $this->__set("id", $Id);
    }

    /**
     * Return post.id column value in current Row.
     * 
     * @return int
     */
    public function getId()
    {
        return $this->__get("id");
    }

    /**
     * Set new value for post.type column in current Row.
     * 
     * @param enum('text','image') $TypeFromPostRow
     * @return void
     */
    public function setType($Type)
    {
        $this->__set("type", $Type);
    }

    /**
     * Return post.type column value in current Row.
     * 
     * @return enum('text','image')
     */
    public function getType()
    {
        return $this->__get("type");
    }

    /**
     * Set new value for post.source_id column in current Row.
     * 
     * @param int $SourceIdFromPostRow
     * @return void
     */
    public function setSourceId($SourceId)
    {
        $this->__set("source_id", $SourceId);
    }

    /**
     * Return post.source_id column value in current Row.
     * 
     * @return int
     */
    public function getSourceId()
    {
        return $this->__get("source_id");
    }

    /**
     * Return parent row from table source where post.source_id = source.id
     * 
     * @param Db_Select $selectFromSource
     * @return SourceRow
     */
    public function getSourceRowBySourceId($select = null)
    {
        return $this->findParentRow('SourcePeer', null, $select);
    }

    /**
     * Set new value for post.external_id column in current Row.
     * 
     * @param varchar $ExternalIdFromPostRow
     * @return void
     */
    public function setExternalId($ExternalId)
    {
        $this->__set("external_id", $ExternalId);
    }

    /**
     * Return post.external_id column value in current Row.
     * 
     * @return varchar
     */
    public function getExternalId()
    {
        return $this->__get("external_id");
    }

    /**
     * Set new value for post.external_url column in current Row.
     * 
     * @param varchar $ExternalUrlFromPostRow
     * @return void
     */
    public function setExternalUrl($ExternalUrl)
    {
        $this->__set("external_url", $ExternalUrl);
    }

    /**
     * Return post.external_url column value in current Row.
     * 
     * @return varchar
     */
    public function getExternalUrl()
    {
        return $this->__get("external_url");
    }

    /**
     * Set new value for post.external_rating column in current Row.
     * 
     * @param varchar $ExternalRatingFromPostRow
     * @return void
     */
    public function setExternalRating($ExternalRating)
    {
        $this->__set("external_rating", $ExternalRating);
    }

    /**
     * Return post.external_rating column value in current Row.
     * 
     * @return varchar
     */
    public function getExternalRating()
    {
        return $this->__get("external_rating");
    }

    /**
     * Set new value for post.external_votes column in current Row.
     * 
     * @param varchar $ExternalVotesFromPostRow
     * @return void
     */
    public function setExternalVotes($ExternalVotes)
    {
        $this->__set("external_votes", $ExternalVotes);
    }

    /**
     * Return post.external_votes column value in current Row.
     * 
     * @return varchar
     */
    public function getExternalVotes()
    {
        return $this->__get("external_votes");
    }

    /**
     * Set new value for post.internal_rating column in current Row.
     * 
     * @param varchar $InternalRatingFromPostRow
     * @return void
     */
    public function setInternalRating($InternalRating)
    {
        $this->__set("internal_rating", $InternalRating);
    }

    /**
     * Return post.internal_rating column value in current Row.
     * 
     * @return varchar
     */
    public function getInternalRating()
    {
        return $this->__get("internal_rating");
    }

    /**
     * Set new value for post.title column in current Row.
     * 
     * @param varchar $TitleFromPostRow
     * @return void
     */
    public function setTitle($Title)
    {
        $this->__set("title", $Title);
    }

    /**
     * Return post.title column value in current Row.
     * 
     * @return varchar
     */
    public function getTitle()
    {
        return $this->__get("title");
    }

    /**
     * Set new value for post.description column in current Row.
     * 
     * @param varchar $DescriptionFromPostRow
     * @return void
     */
    public function setDescription($Description)
    {
        $this->__set("description", $Description);
    }

    /**
     * Return post.description column value in current Row.
     * 
     * @return varchar
     */
    public function getDescription()
    {
        return $this->__get("description");
    }

    /**
     * Set new value for post.text column in current Row.
     * 
     * @param varchar $TextFromPostRow
     * @return void
     */
    public function setText($Text)
    {
        $this->__set("text", $Text);
    }

    /**
     * Return post.text column value in current Row.
     * 
     * @return varchar
     */
    public function getText()
    {
        return $this->__get("text");
    }

    /**
     * Set new value for post.tag column in current Row.
     * 
     * @param text $TagFromPostRow
     * @return void
     */
    public function setTag($Tag)
    {
        $this->__set("tag", $Tag);
    }

    /**
     * Return post.tag column value in current Row.
     * 
     * @return text
     */
    public function getTag()
    {
        return $this->__get("tag");
    }

    /**
     * Set new value for post.image_url column in current Row.
     * 
     * @param varchar $ImageUrlFromPostRow
     * @return void
     */
    public function setImageUrl($ImageUrl)
    {
        $this->__set("image_url", $ImageUrl);
    }

    /**
     * Return post.image_url column value in current Row.
     * 
     * @return varchar
     */
    public function getImageUrl()
    {
        return $this->__get("image_url");
    }

    /**
     * Set new value for post.image_vk_id column in current Row.
     * 
     * @param varchar $ImageVkIdFromPostRow
     * @return void
     */
    public function setImageVkId($ImageVkId)
    {
        $this->__set("image_vk_id", $ImageVkId);
    }

    /**
     * Return post.image_vk_id column value in current Row.
     * 
     * @return varchar
     */
    public function getImageVkId()
    {
        return $this->__get("image_vk_id");
    }

    /**
     * Set new value for post.wall_url column in current Row.
     * 
     * @param varchar $WallUrlFromPostRow
     * @return void
     */
    public function setWallUrl($WallUrl)
    {
        $this->__set("wall_url", $WallUrl);
    }

    /**
     * Return post.wall_url column value in current Row.
     * 
     * @return varchar
     */
    public function getWallUrl()
    {
        return $this->__get("wall_url");
    }

    /**
     * Set new value for post.external_created_at column in current Row.
     * 
     * @param datetime $ExternalCreatedAtFromPostRow
     * @return void
     */
    public function setExternalCreatedAt($ExternalCreatedAt)
    {
        $this->__set("external_created_at", $ExternalCreatedAt);
    }

    /**
     * Return post.external_created_at column value in current Row.
     * 
     * @return datetime
     */
    public function getExternalCreatedAt()
    {
        return $this->__get("external_created_at");
    }

    /**
     * Set new value for post.created_at column in current Row.
     * 
     * @param datetime $CreatedAtFromPostRow
     * @return void
     */
    public function setCreatedAt($CreatedAt)
    {
        $this->__set("created_at", $CreatedAt);
    }

    /**
     * Return post.created_at column value in current Row.
     * 
     * @return datetime
     */
    public function getCreatedAt()
    {
        return $this->__get("created_at");
    }

    /**
     * Set new value for post.modified_at column in current Row.
     * 
     * @param timestamp $ModifiedAtFromPostRow
     * @return void
     */
    public function setModifiedAt($ModifiedAt)
    {
        $this->__set("modified_at", $ModifiedAt);
    }

    /**
     * Return post.modified_at column value in current Row.
     * 
     * @return timestamp
     */
    public function getModifiedAt()
    {
        return $this->__get("modified_at");
    }

    /**
     * Set new value for post.reposted_at column in current Row.
     * 
     * @param datetime $RepostedAtFromPostRow
     * @return void
     */
    public function setRepostedAt($RepostedAt)
    {
        $this->__set("reposted_at", $RepostedAt);
    }

    /**
     * Return post.reposted_at column value in current Row.
     * 
     * @return datetime
     */
    public function getRepostedAt()
    {
        return $this->__get("reposted_at");
    }

    /**
     * Set new value for post.deleted_at column in current Row.
     * 
     * @param datetime $DeletedAtFromPostRow
     * @return void
     */
    public function setDeletedAt($DeletedAt)
    {
        $this->__set("deleted_at", $DeletedAt);
    }

    /**
     * Return post.deleted_at column value in current Row.
     * 
     * @return datetime
     */
    public function getDeletedAt()
    {
        return $this->__get("deleted_at");
    }

    /**
     * Set new value for post.is_reposted column in current Row.
     * 
     * @param tinyint $IsRepostedFromPostRow
     * @return void
     */
    public function setIsReposted($IsReposted)
    {
        $this->__set("is_reposted", $IsReposted);
    }

    /**
     * Return post.is_reposted column value in current Row.
     * 
     * @return tinyint
     */
    public function getIsReposted()
    {
        return $this->__get("is_reposted");
    }

    /**
     * Set new value for post.is_deleted column in current Row.
     * 
     * @param tinyint $IsDeletedFromPostRow
     * @return void
     */
    public function setIsDeleted($IsDeleted)
    {
        $this->__set("is_deleted", $IsDeleted);
    }

    /**
     * Return post.is_deleted column value in current Row.
     * 
     * @return tinyint
     */
    public function getIsDeleted()
    {
        return $this->__get("is_deleted");
    }

    /**
     * Set new value for post.view_count column in current Row.
     * 
     * @param mediumint $ViewCountFromPostRow
     * @return void
     */
    public function setViewCount($ViewCount)
    {
        $this->__set("view_count", $ViewCount);
    }

    /**
     * Return post.view_count column value in current Row.
     * 
     * @return mediumint
     */
    public function getViewCount()
    {
        return $this->__get("view_count");
    }

    /**
     * Set new value for post.user_id column in current Row.
     * 
     * @param int $UserIdFromPostRow
     * @return void
     */
    public function setUserId($UserId)
    {
        $this->__set("user_id", $UserId);
    }

    /**
     * Return post.user_id column value in current Row.
     * 
     * @return int
     */
    public function getUserId()
    {
        return $this->__get("user_id");
    }

    /**
     * Set new value for post.vk_likes_count column in current Row.
     * 
     * @param int $VkLikesCountFromPostRow
     * @return void
     */
    public function setVkLikesCount($VkLikesCount)
    {
        $this->__set("vk_likes_count", $VkLikesCount);
    }

    /**
     * Return post.vk_likes_count column value in current Row.
     * 
     * @return int
     */
    public function getVkLikesCount()
    {
        return $this->__get("vk_likes_count");
    }

    /**
     * Set new value for post.vk_repost_count column in current Row.
     * 
     * @param int $VkRepostCountFromPostRow
     * @return void
     */
    public function setVkRepostCount($VkRepostCount)
    {
        $this->__set("vk_repost_count", $VkRepostCount);
    }

    /**
     * Return post.vk_repost_count column value in current Row.
     * 
     * @return int
     */
    public function getVkRepostCount()
    {
        return $this->__get("vk_repost_count");
    }

    /**
     * Return dependent rowset from table TurnPost where TurnPost.PostId reference to
     * post table
     * 
     * @param Db_Select $select FromTurnPost
     * @return Zend_Db_Table_Rowset_Abstract
     */
    public function getTurnPostRowsetByPostId($select = null)
    {
        return $this->findDependentRowset('TurnPostPeer', null, $select);
    }


}

